package com.yunxin.admin.system.infra.framework.security.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * 手机号找不到异常
 *
 * @author zero°
 * @since 2023-05-22
 */
public class MobileNotFoundException extends AuthenticationException {


    /**
     * Constructs a <code>MobileNotFoundException</code> with the specified message.
     * @param msg the detail message.
     */
    public MobileNotFoundException(String msg) {
        super(msg);
    }

    /**
     * Constructs a {@code MobileNotFoundException} with the specified message and root
     * cause.
     * @param msg the detail message.
     * @param cause root cause
     */
    public MobileNotFoundException(String msg, Throwable cause) {
        super(msg, cause);
    }


}
